package cn.wolfcode.wolf2w.job.task;

import cn.wolfcode.wolf2w.business.api.RemoteStrategyRankService;
import cn.wolfcode.wolf2w.common.core.constant.SecurityConstants;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.Date;

@Component("strategyRankJob")
public class StrategyRankJob {

    @Autowired
    private RemoteStrategyRankService remoteStrategyRankService;

    public void statisRank(){
        System.out.println(new Date().toLocaleString());
        remoteStrategyRankService.statisRank(SecurityConstants.INNER);
    }
}
